package com.tyf.feign.service;

import com.tyf.dubbo.model.Student;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "cloud-server",url = "localhost:10073")
public interface FeignStudentService {


    @GetMapping("/student/getList")
    List<Student> getStudentList();
}
